//
//  AMTMP3Process.h
//  LameSample
//
//  Created by yao on 3/19/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#define ONE_TYPE	@".wav.aiff.ogg."		//能直接转mp3的文件类型
#define OTHER_TYPE	@".ape.flac."		//不能直接转的文件类型

@interface AMTMP3Process : NSObject {
	NSString* bitrate;		// -b n | n =   32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320
	NSString* frequency;	// -s n | n = 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48
}

-(id) initWithParam:(NSString*)bit withFrequency:(NSString*)f;
-(void) setParam:(NSString*)bit withFrequency:(NSString*)f;
-(BOOL) convertOneToMP3:(NSString*)inPath to:(NSString*)outPath;			//直接转成mp3
-(BOOL) convertOtherToMP3:(NSString*)inPath to:(NSString*)outPath;			//转成wav再转mp3
-(NSArray*) convertSomeToMP3:(NSArray*)inPaths to:(NSString*)outDirectory; 

@end
